﻿using System;

namespace Wp7Tools.Util {
	public interface IWorker {
		void RunAsync<T>(Func<T> method, Action<T> onSuccess, Action<Exception> onError);
		void RunAsync(Action method, Action onSucess, Action<Exception> onError);
	}
}